#!/usr/bin/env python3
# -*- coding: utf-8 -*-


# Artist的相关信息
class Artist(object):
    def __init__(self, name, uri, image, verified, id, albums=None, singles=None):
        self.name = name
        self.uri = uri
        self.image = image
        self.verified = verified
        self.id = id
        self.albums = albums
        self.singles = singles

    def __str__(self):
        return 'name：%s，uri：%s，image：%s，verified：%s，id：%s' % (self.name, self.uri, self.image, self.verified, self.id)


# 专辑
class Album(object):
    def __init__(self, id, uri, name, cover, songs=None):
        self.id = id
        self.uri = uri
        self.name = name
        self.cover = cover
        self.songs = songs

    def __str__(self):
        return 'uri：%s，name：%s，cover：%s，cover：%s，cover：%s' % (
            self.uri, self.name, self.cover, self.cover, self.cover)


# 歌曲
class Song(object):
    def __init__(self, id, name, uri):
        self.id = id
        self.name = name
        self.uri = uri

    def __str__(self):
        return 'id：%s，name：%s，uri：%s，uri：%s，uri：%s' % (
            self.id, self.name, self.uri, self.uri, self.uri)
